package com.ruicar.afs.cloud.afscase.infomanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.afscase.channel.entity.CommonCarDealer;
import com.ruicar.afs.cloud.afscase.infomanagement.condition.CarInfoCondition;
import com.ruicar.afs.cloud.afscase.infomanagement.condition.CaseInfoQueryCondition;
import com.ruicar.afs.cloud.afscase.infomanagement.entity.CaseCarInfo;
import com.ruicar.afs.cloud.common.modules.apply.dto.ChannelCardDTO;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>Description: </p>
 *
 * @author ZC.GUO
 * @version 1.0
 * @date create on 2020-05-13 15:19
 */
public interface CaseCarInfoService extends IService<CaseCarInfo> {

    /**
     * 根据条件查询车辆信息
     * @param carInfoCondition
     * @return
     */
    public List<CaseCarInfo> getAllCarInfo( CarInfoCondition carInfoCondition);

    /**
     * calculateLoanAmtMaxByCar
     * <p>Description: 根据车辆信息计算理论最大贷款金额</p>
     *
     * @param
     * @return
     */
    public BigDecimal calculateLoanAmtMaxByCar(CaseInfoQueryCondition caseInfoQueryCondition);
}
